package JavaSE.CODE.javase;

public class ExceptionDemo {

    public static void main(String[] args) {
        int a = 1;
        int b = 0;

        try {
            test(a,b);
        } catch (Exception e) {
            System.out.println("我还会继续执行，不信往下看");
        }
        System.out.println("我执行啦");
    }

    public static void test(int a,int b) throws ArithmeticException{
        int d = a/b;
        System.out.println(d);
    }

}
